package com.zwz.mall.base;

import android.content.Context;


/**
 * des:基类presenter
 * Created by wushenghui on 2017/4/23.
 */
public abstract class BasePresenter<T,E>{
    public Context mContext;
    public E mModel;
    public T mView;

    public void setVM(T v, E m) {
        this.mView = v;
        this.mModel = m;
        this.onStart();
    }
    public void onStart(){
    };

    public abstract void onDestroy();
}
